package com.ruoyi.driver.pay.service;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.model.LoginUser;
import com.ruoyi.passenger.order.domain.TOrder;
import com.ruoyi.passenger.pay.ro.PayParam;

/**
 * 付款接口
 *
 * @author ruoyi
 * @date 2021-12-01
 */
public interface IDriverPayService {

    /**
     * 获取第一次支付地址
     * @return
     */
    AjaxResult getPayQrcode(PayParam param,LoginUser loginUser);

    AjaxResult getQrcodeForDriver(PayParam param,LoginUser loginUser);

    int driverSign(LoginUser loginUser,PayParam param);

    AjaxResult toDriverSign(LoginUser loginUser);
}
